import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

export default defineConfig({
  plugins: [
    vue(),
  ],
  server: {
    proxy: {
      "/dev-api": {
        target: "http://localhost:8080",
        rewrite: (path) => path.replace(/^\/dev-api/, ""),
      },
    },
  },
})
